package JavaCore;

public class MathTest {
	
	public MathTest(){
		double d1 = 10.001;	
		double d2 = -10.001;
		
		System.out.println(Math.ceil(d1));
		System.out.println(Math.ceil(d2));
		System.out.println(Math.floor(d1));
		System.out.println(Math.floor(d2));
	}

	public static void main(String[] args) {
		new MathTest();

	}

}
